package com.irs.service.impl;

import com.irs.mapper.BusinessCommunityMapper;
import com.irs.pojo.BusinessCommunity;
import com.irs.service.BusinessCommunityService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class

BusinessCommunityServiceImpl implements BusinessCommunityService {

    @Resource
    private BusinessCommunityMapper businessCommunityDao;

    public int insert(BusinessCommunity pojo){
        return businessCommunityDao.insert(pojo);
    }

    public int insertList(List< BusinessCommunity> pojos){
        return businessCommunityDao.insertList(pojos);
    }

    public List<BusinessCommunity> select(BusinessCommunity pojo){
        return businessCommunityDao.select(pojo);
    }

    public int update(BusinessCommunity pojo){
        return businessCommunityDao.update(pojo);
    }


    public int delete(BusinessCommunity pojo) { return businessCommunityDao.delete(pojo); }

}
